Javascript function to call if any field has validation errors
Description
If any fields have validation errors, specify the name of a Javascript function to call. The function takes a parameter, 'e' which is an array of objects. Each object in the array has a 'control' and 'errorText' property.